<include file="application/walletyhbbadmin/view/public/left.html"/>
<div id="dcMain">
   <!-- 当前位置 -->
<div id="urHere">管理中心<b>></b><strong>订单管理</strong> </div>   <div class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
        <h3>订单详情</h3>
    <div class="filter">
    </div>
        <div id="list">
    <form name="action" method="post" action="product.php?rec=action">
    <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
    <tr>

      <th style="text-align:center;">订单号</th>
      <th style="text-align:center;">商品名</th>
      <th style="text-align:center;">设备号</th>
      <th style="text-align:center;">播放地址</th>
      <th style="text-align:center;">所选模板</th>
      <th style="text-align:center;">日播放</th>
      <th style="text-align:center;">播放时间</th>
      <th style="text-align:center;">操作</th>
    </tr>
     <volist name='orders' id='vo' empty="$empty">
        <tr>
            <td align="center"> {$vo.order_sn}</td>
            <td align="center"> {$vo.goods_name}</td>
            <td align="center">{$vo.shebeihao}</td>
            <td align="center">{$vo.address}</td>
            <td align="center">{$vo.muban}</td>
            <td align="center">{$vo.day_play}次</td>
            <td align="center">{$vo.play_time}</td>
          
            <td align="center">
                <a href="{:U('Orders/index')}" class="btn">返回</a>
            </td>
        </tr>
    </volist>
           
          </table>
    </form>
    </div>
    <div class="clear"></div>
    <div class="pager">
        <ul></ul>
    </div>
    </div>
 </div>
<include file="application/walletyhbbadmin/view/public/foot.html"/><!-- dcFooter 结束 -->
<script src="__PUBLIC__/js/layer/layer.js" type="text/javascript"></script>
<div class="clear"></div> </div>
<script type="text/javascript">

onload = function()
{
 document.forms['action'].reset();
}

function douAction()
{
 var frm = document.forms['action'];
 frm.elements['new_cat_id'].style.display = frm.elements['action'].value == 'category_move' ? '' : 'none';
}

</script>
<script type="text/javascript">
   layer.config({
        extend: 'extend/layer.ext.js'
      }); 
    function show(id){
     // alert(id);
    var url = "{:U('Orders/getPingZheng')}"

    $.getJSON('/walletyhbbadmin/Orders/getPingZheng?trade_id='+id, function(json){
      // console.log(123);
      // console.log(json);

      layer.photos({
        photos: json,
        anim:5
      });
    });
// });
//       layer.photos({
//         photos: json
//         ,anim: 5 //0-6的选择，指定弹出图片动画类型，默认随机（请注意，3.0之前的版本用shift参数）
//       });
    // }); 






    // $.post(url,{'trade_id':id},function(data){
    //    //alert(12344);



    //   // layer.msg(data.info);
    //   // if(data.status==1){
    //   //   setTimeout(function(){  //使用  setTimeout（）方法设定定时2000毫秒
    //   //     window.location.reload();//页面刷新
    //   //   },2000);
    //   // }
    // });
  }


//实名认证
function authentication(id){    
    layer.open({
            type: 2,
            title: '审核合同信息',
            maxmin: true,
            shadeClose: true, 
            area : ['800px' , '850px'],
            content: '{:U("Orders/authentication")}?order_id='+id
          });
}

</script>
</body>
</html>
